package domain;

/**
 * @author 杨森
 * @date 2022年11月28日 19:42
 */
public class Stu_Curriculum {
    //    id int primary key AUTO_INCREMENT,
//    course_id int NULL DEFAULT NULL,
//    foreign key (course_id) references training_program(course_id),
//    course_name varchar(255) not null ,
//    course_selected_ID int not null ,
//    foreign key (course_selected_ID) references student(s_id),
//    course_selected_stu varchar(255) not null ,
//    score  int#课程分数
    private Integer id;
    private Integer course_id;
    private String course_name;
    private String course_selected_ID;
    private String course_selected_stu;
    private Integer score;

    public Stu_Curriculum() {
    }

    public Stu_Curriculum(Integer id, Integer course_id, String course_name, String course_selected_ID, String course_selected_stu, Integer score) {
        this.id = id;
        this.course_id = course_id;
        this.course_name = course_name;
        this.course_selected_ID = course_selected_ID;
        this.course_selected_stu = course_selected_stu;
        this.score = score;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourse_id() {
        return course_id;
    }

    public void setCourse_id(Integer course_id) {
        this.course_id = course_id;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getCourse_selected_ID() {
        return course_selected_ID;
    }

    public void setCourse_selected_ID(String course_selected_ID) {
        this.course_selected_ID = course_selected_ID;
    }

    public String getCourse_selected_stu() {
        return course_selected_stu;
    }

    public void setCourse_selected_stu(String course_selected_stu) {
        this.course_selected_stu = course_selected_stu;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return getCourse_name()+"\t\t"+getScore();
    }
}
